import type { loginType } from "@/types/login";
import { http } from "@/untils/request";

/**
 * 小程序登录-内测版
 * @param phoneNumber 
 * @returns 
 */
export const getLoginAPI = (phoneNumber: string) => {
    return http<loginType>({
        url: '/login/wxMin/simple',
        method: 'POST',
        data: {
            phoneNumber
        }
    })
}